package com.tyk.bookstore.back.system.repository;

import com.tyk.bookstore.back.common.dal.mapper.IMapper;
import com.tyk.bookstore.back.system.model.entity.PermissionDo;
import com.tyk.bookstore.back.system.model.vo.PermissionVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PermissionRepository extends IMapper<PermissionDo> {

	List<String> selectPermissionList(List<Long> roleIdList);

    PermissionVo selectGetPermissionByIdVo(Long id);
}
